package com.example.mapper;


import cn.hutool.json.JSONObject;
import com.example.entity.Medications;

import java.util.List;

public interface MedicationMapper {
    boolean addMedications(Medications medications);

    List<JSONObject> list(String userId);

    boolean deleteMedication(Medications medications);

    boolean updateMedicaiton(Medications medications);

    List<Medications> listAll();
}
